<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover, user-scalable=no">

    <van-number-keyboard safe-area-inset-bottom />

    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <link rel="icon" href="./favicon.ico">
    <title>柒巧空间</title>
  </head>
  <body>
    <div id="app"></div>
    <script>
      window.onload = function () {
        document.addEventListener('touchstart',  function(event) {
          // 当两个手指操作
          if (event.touches.length > 1) {
            // 组织浏览器默认事件
            event.preventDefault();
          }
        });

        var lastTouchEnd = 0;
        document.addEventListener('touchend', function(event) {
          var now = (new Date()).getTime();
          // 判断是否是双击操作，即两次点击间隔小于300ms
          if (now - lastTouchEnd <= 300) {
          // 组织浏览器默认事件
            event.preventDefault();
          }
          lastTouchEnd = now;
        }, false);
      }
    </script>
    
  </body>
</html>
